Page({
    data: {
        animationList: [{
            animation: "zoomInRight",
            animationName: ""
        }, {
            animation: "zoomInUp",
            animationName: ""
        }, {
            animation: "zoomOut",
            animationName: ""
        }, {
            animation: "zoomOutDown",
            animationName: ""
        }, {
            animation: "zoomOutLeft",
            animationName: ""
        }, {
            animation: "zoomOutRight",
            animationName: ""
        }, {
            animation: "zoomOutUp",
            animationName: ""
        }, {
            animation: "animated.flip",
            animationName: ""
        }, {
            animation: "bounce",
            animationName: ""
        }, {
            animation: "flash",
            animationName: ""
        }, {
            animation: "pulse",
            animationName: ""
        }, {
            animation: "rubberBand",
            animationName: ""
        }, {
            animation: "shake",
            animationName: ""
        }, {
            animation: "headShake",
            animationName: ""
        }, {
            animation: "swing",
            animationName: ""
        }, {
            animation: "tada",
            animationName: ""
        }, {
            animation: "wobble",
            animationName: ""
        }, {
            animation: "jello",
            animationName: ""
        }, {
            animation: "heartBeat",
            animationName: ""
        }, {
            animation: "bounceIn",
            animationName: ""
        }, {
            animation: "bounceInLeft",
            animationName: ""
        }, {
            animation: "bounceInDown",
            animationName: ""
        }, {
            animation: "bounceInRight",
            animationName: ""
        }, {
            animation: "bounceInUp",
            animationName: ""
        }, {
            animation: "bounceOut",
            animationName: ""
        }, {
            animation: "bounceOutDown",
            animationName: ""
        }, {
            animation: "bounceOutLeft",
            animationName: ""
        }, {
            animation: "bounceOutRight",
            animationName: ""
        }, {
            animation: "bounceOutUp",
            animationName: ""
        }, {
            animation: "fadeIn",
            animationName: ""
        }, {
            animation: "fadeInDown",
            animationName: ""
        }, {
            animation: "fadeInDownBig",
            animationName: ""
        }, {
            animation: "fadeInLeft",
            animationName: ""
        }, {
            animation: "fadeInLeftBig",
            animationName: ""
        }, {
            animation: "fadeInRight",
            animationName: ""
        }, {
            animation: "fadeInRightBig",
            animationName: ""
        }, {
            animation: "fadeInUp",
            animationName: ""
        }, {
            animation: "fadeInUpBig",
            animationName: ""
        }, {
            animation: "fadeOut",
            animationName: ""
        }, {
            animation: "fadeOutDown",
            animationName: ""
        }, {
            animation: "fadeOutDownBig",
            animationName: ""
        }, {
            animation: "fadeOutLeft",
            animationName: ""
        }, {
            animation: "fadeOutLeftBig",
            animationName: ""
        }, {
            animation: "fadeOutRight",
            animationName: ""
        }, {
            animation: "fadeOutRightBig",
            animationName: ""
        }, {
            animation: "fadeOutUp",
            animationName: ""
        }, {
            animation: "fadeOutUpBig",
            animationName: ""
        }, {
            animation: "flipInX",
            animationName: ""
        }, {
            animation: "flipInY",
            animationName: ""
        }, {
            animation: "flipOutX",
            animationName: ""
        }, {
            animation: "flipOutY",
            animationName: ""
        }, {
            animation: "lightSpeedIn",
            animationName: ""
        }, {
            animation: "lightSpeedOut",
            animationName: ""
        }, {
            animation: "rotateIn",
            animationName: ""
        }, {
            animation: "rotateInDownLeft",
            animationName: ""
        }, {
            animation: "rotateInDownRight",
            animationName: ""
        }, {
            animation: "rotateInUpLeft",
            animationName: ""
        }, {
            animation: "rotateInUpRight",
            animationName: ""
        }, {
            animation: "rotateOut",
            animationName: ""
        }, {
            animation: "rotateOutDownLeft",
            animationName: ""
        }, {
            animation: "rotateOutDownRight",
            animationName: ""
        }, {
            animation: "rotateOutUpLeft",
            animationName: ""
        }, {
            animation: "rotateOutUpRight",
            animationName: ""
        }, {
            animation: "hinge",
            animationName: ""
        }, {
            animation: "jackInTheBox",
            animationName: ""
        }, {
            animation: "rollIn",
            animationName: ""
        }, {
            animation: "rollOut",
            animationName: ""
        }, {
            animation: "zoomIn",
            animationName: ""
        }, {
            animation: "zoomInDown",
            animationName: ""
        }, {
            animation: "zoomInLeft",
            animationName: ""
        }, {
            animation: "slideInDown",
            animationName: ""
        }, {
            animation: "slideInLeft",
            animationName: ""
        }, {
            animation: "slideInRight",
            animationName: ""
        }, {
            animation: "slideInUp",
            animationName: ""
        }, {
            animation: "slideOutDown",
            animationName: ""
        }, {
            animation: "slideOutLeft",
            animationName: ""
        }, {
            animation: "slideOutRight",
            animationName: ""
        }, {
            animation: "slideOutUp",
            animationName: ""
        }],
        pickerValue: [1]
    },
    pickAnimation: function (a) {
        var n = a.detail.value[0];
        this.setData({
            animationSelected: this.data.animationList[n].animation
        });
    },
    onLoad: function (n) {
        this.setData({
            animationSelected: this.data.animationList[this.data.pickerValue[0]].animation
        })
        console.log(this.data.animationList.length)
    },
    onReady: function () {},
    onShow: function () {},
    onHide: function () {},
    onUnload: function () {},
    onPullDownRefresh: function () {},
    onReachBottom: function () {},
    onShareAppMessage: function () {}
});